<?php
/**
 * Created by PhpStorm.
 * User: Blue
 * Date: 2018/3/20
 * Time: 14:57
 */
namespace Qrcode\Model;
use Think\Model\RelationModel;

class UsersCompanyModel extends RelationModel
{
    protected $_link=array(
        'users_blance'=>array(
            'mapping_type'=>self::HAS_ONE,
            'parent_key'=>'uid',
            'foreign_key'=>'user_company_id'
        )
    );
}